package com.gxa.saas.service;

import com.gxa.saas.pojo.Company;
import com.gxa.saas.pojo.Department;

import java.util.List;
import java.util.Map;

/**
 * @author wanghai
 * @date 2022/6/7 19:06
 */
public interface DepartmentService {
    List<Department> selectByPage(Map map);
    void addDepartment(Department department);
    void deleteDepartment(Integer id);
    void updateDepartment(Department department);
    void updateIsUsed(Department department);
    Integer selectAll();
}
